package hu.veilingsite.shared;

import java.io.Serializable;
import java.sql.Date;

@SuppressWarnings("serial")
public class ClientUser implements Serializable{
	private int id = 0,credits = 0;
	private String name,address,residence,email;
	private Date birthdate;
	private boolean maybid,mayoffer,isadmin;
	
	public ClientUser() {
		
	}
	
	public ClientUser(int id,String nm,String ad,String rs,Date bd,boolean mb,boolean mo,boolean ia,int cr,String em) {
		this.id = id;
		name = nm;
		address = ad;
		residence = rs;
		birthdate = bd;
		maybid = mb;
		mayoffer = mo;
		isadmin = ia;
		credits = cr;
		email = em;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getCredits() {
		return credits;
	}

	public void setCredits(int credits) {
		this.credits = credits;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getResidence() {
		return residence;
	}

	public void setResidence(String residence) {
		this.residence = residence;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getBirthdate() {
		return birthdate;
	}

	public void setBirthdate(Date birthdate) {
		this.birthdate = birthdate;
	}

	public boolean isMaybid() {
		return maybid;
	}

	public void setMaybid(boolean maybid) {
		this.maybid = maybid;
	}

	public boolean isMayoffer() {
		return mayoffer;
	}

	public void setMayoffer(boolean mayoffer) {
		this.mayoffer = mayoffer;
	}

	public boolean isIsadmin() {
		return isadmin;
	}

	public void setIsadmin(boolean isadmin) {
		this.isadmin = isadmin;
	}
	
}
